<%--
  Created by IntelliJ IDEA.
  User: bobo
  Date: 2016/10/16
  Time: 15:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
  <head>
    <title>首页</title>
    <script>

      window.location.href = "/index/blog";

    </script>

  </head>
  <body>
  <div>
    <a href="${pageContext.request.contextPath}/admin/photo/add">新增图片</a>
    <a href="${pageContext.request.contextPath}/admin/photo/headerImg">头像列表</a>
    <a href="${pageContext.request.contextPath}/admin/add">新增管理员</a>
    <a href="${pageContext.request.contextPath}/admin/login">管理员登录</a>
    <a href="${pageContext.request.contextPath}/admin/getAdmins">管理员列表</a>
    <a href="${pageContext.request.contextPath}/admin/category/add">新增类别</a>
    <a href="${pageContext.request.contextPath}/admin/category/getCategories">类别列表</a>
    <a href="<%= basePath%>/admin/tag/add">新增标签</a>
  </div>


  </body>
</html>
